package com.vogue.supplymall.shop.domain.mapper;

import com.vogue.ssm.database.util.SqlLangDriver;
import com.vogue.supplymall.shop.domain.model.ProductAttrplan;

import java.util.List;

import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * The interface ProductAttrplan mapper.
 *
 * @Aouthor: gzl
 * @Date: Create in 2017-12-12
 */
@Mapper
public interface ProductAttrplanMapper extends BaseMapper<ProductAttrplan, Long> {
	/**
	 * 根据id得到对应的属性组合方案
	 */
	@Select("select * from product_attrplan where id=#{id}")
	@Lang(SqlLangDriver.class)
	public List<ProductAttrplan> findProductAttrplanBySP(Long id);
}
